package com.jianyun.jyzs.bean;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;
import java.util.List;

/**
 * Created by mlli on 2017/8/23.
 */

public class CrmFunnelList extends Response{
    @Override
    public String toString() {
        return "CrmFunnelList{" +
                "message=" + message +
                ", result=" + result +
                ", list=" + list +
                ", data=" + data +
                '}';
    }

    private Object message;
    private boolean result;
    private List<FunnelBean> list;
    private List<FunnelBean> data;

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public List<FunnelBean> getList() {
        return list;
    }

    public void setList(List<FunnelBean> list) {
        this.list = list;
    }

    public List<FunnelBean> getData() {
        return data;
    }

    public void setData(List<FunnelBean> data) {
        this.data = data;
    }

    @DatabaseTable(tableName = "crmfunnel")
    public static class FunnelBean implements Serializable{
        @Override
        public String toString() {
            return "IndustryBean{" +
                    "enterpriseCode='" + enterpriseCode + '\'' +
                    ", id='" + id + '\'' +
                    ", name='" + name + '\'' +
                    '}';
        }

        @DatabaseField
        private String enterpriseCode;
        @DatabaseField(id = true)
        private String id;
        @DatabaseField
        private String name;


        public String getEnterpriseCode() {
            return enterpriseCode;
        }

        public void setEnterpriseCode(String enterpriseCode) {
            this.enterpriseCode = enterpriseCode;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
